.App {
  text-align: center;
}

.App-logo {
  height: 40vmin;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .App-logo {
    animation: App-logo-spin infinite 20s linear;
  }
}

.App-header {
  background-color: #282c34;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: calc(10px + 2vmin);
  color: white;
}

.App-link {
  color: #61dafb;
}

@keyframes App-logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* 左侧固定导航 */
#nav {
  width: 30%;
  height: 100vh;
  background-color: dimgrey;
  color: white;
  position: fixed;
  left: 0;
  top: 0;
}

#nav ul {
  margin:0;
}
#nav ul li {
  display: block;
  padding: 10px 0;
  text-align: left;
}
#nav ul li a:hover, #nav ul li a.active {
  color: rgba(216, 163, 16, 0.788)
}
#nav ul li a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

/* 右侧 */
#main {
  margin-left: 30%;
  padding: 20px;
}
